/*
 * Copyright (c) 2014. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

package com.dc.gameserver.extComponents.Scence;


import org.springframework.stereotype.Service;

/**
 * 地图初始化
 * @author chenlei
 */
@Service
public class MapManager {
	/**地图管理数据*/
	public static MapArea MapAres[];

    /**地图的初始化
     *
     * @return boolean
     */
	public boolean initMap(){
		boolean status = true;
//        MapManager.MapAres=new MapArea[NServerConfig.MapNum];
        MapArea mapArea=null;
//        for (Map.Entry<Integer, MapModel> mapModelEntry: GameDataCenter.MapModelMap.entrySet()){
//            MapModel mapModel=mapModelEntry.getValue();
//            mapArea = new MapArea(mapModel.getId(),mapModel.getWide()
//                    ,mapModel.getHeight(),mapModel.getCellLength());
//            MapAres[mapModel.getId()]=mapArea;
//        }
		return status;
	}

}
